package swtype

import "fmt"

const Name = "hahah"

type Car struct {
	Color string
}

func (car *Car) brake() {
	//TODO implement me
	panic("implement me")
}

type CarOperation interface {
	Move(se int)
	brake()
}

func (car *Car) Move(se int) {
	fmt.Println(get(car), " 移动速度为 ", se)
}

func get(car *Car) string {
	return car.Color + "小车"
}

func Test() {
	fmt.Println("hellow i am day5 t1")
}

func Test2() {
	fmt.Println("hellow i am day5 t1 test2")
}
